﻿using System.Web.UI.WebControls;
using System.ComponentModel;
using System.Drawing;

namespace Emerald.WebSite.UI.WebControls
{
    /// <summary>
    /// 
    /// </summary>
    public class Image : System.Web.UI.WebControls.Image
    {
        /// <summary>
        /// 
        /// </summary>
        public override Unit BorderWidth
        {
            get
            {
                if (base.BorderWidth.IsEmpty)
                {
                    return Unit.Pixel(0);
                }

                return base.BorderWidth;
            }
            set
            {
                base.BorderWidth = value;
            }
        }
    }
}
